package com.ideaaedi.zoo.diy.artifact.seata;

import com.ideaaedi.zoo.diy.artifact.seata.properties.ZooSeataDIYGuideProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * seata 自动配置
 */
@EnableConfigurationProperties({ZooSeataDIYGuideProperties.class})
@ConditionalOnProperty(value = ZooSeataAutoConfiguration.ENABLE, havingValue = "true", matchIfMissing = true)
public class ZooSeataAutoConfiguration {
    
    public static final String ENABLE = "zoo.switch.artifact-seata.enable";

}